# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=logstalgia
pkgver=1.1.2
pkgrel=3
pkgdesc="A website access log visualisation tool"
url="https://logstalgia.io/"
arch="all"
license="GPL-3.0-or-later"
makedepends="pcre-dev ftgl-dev sdl2-dev sdl2_image-dev
	libpng-dev jpeg-dev glew-dev boost-dev glm-dev freetype-dev"
subpackages="$pkgname-doc"
source="https://github.com/acaudwell/Logstalgia/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}
package() {
	make prefix=$pkgdir/usr install
}

sha512sums="e2bd41cbc6edabc1ff82d0da4ad6f749e0e6d44e5a23ea976c31d19339f56e5f693ba86b81ceee3c7590842df61d61fe69f1378711b8e7d1c30deff330cacb1e  logstalgia-1.1.2.tar.gz"
